package pro.wy.adapterpattern.adapterpattern;

import pro.wy.adapterpattern.impl.PlayerEnglish;

public class NbaTest {
	public static void main(String[] args) {
		PlayerEnglish player = new PlayerEnglish();
		System.out.println("教练通过英语类给姚明说话了！");
		player.talk("姚明");
		System.out.println("\n");
		System.out.println("教练通过英语类给外籍球员说话了！");
		player.talk("外籍球员");

	}

}
